package cn.mes.module.mes.controller.admin.basemachineinfo.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 机台负责人员信息新增/修改 Request VO")
@Data
public class BaseMachinePeopleInfoSaveReqVO {

    @Schema(description = "机台人员信息ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23154")
    private String id;

    @Schema(description = "车间ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3321")
    @NotEmpty(message = "车间ID不能为空")
    private String workShopId;

    @Schema(description = "生产班别", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "生产班别不能为空")
    private String shiftCode;

    @Schema(description = "职位编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "职位编码不能为空")
    private String positionCode;

    @Schema(description = "职位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "职位名称不能为空")
    private String positionName;

    @Schema(description = "人员名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "人员名称不能为空")
    private String worker;

    @Schema(description = "人员工号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "人员工号不能为空")
    private String workerJobNo;
    @Schema(description = "机台信息ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10002")
    @ExcelProperty("机台信息ID")
    private String[] machineId;
    @Schema(description = "区域ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10002")
    @ExcelProperty("区域ID")
    private String machineAreaId;

    @Schema(description = "备注")
    private String note;

}